Skip to content

Conversation

famarting
Copy link
Contributor

Description

I noticed that currently, if an API token is provided, it is not used to create the grpc connection, it is only used in subsequent requests after the connection is stablished.

This PR fixes that forcing the API token env var to be read when initializing the authToken holder

Issue reference

Please reference the issue this PR will close: #[issue number]

Checklist

Please make sure you've completed the relevant tasks for this PR, out of the following list:

  • Code compiles correctly
  • Created/updated tests
  • Extended the documentation

Signed-off-by: Fabian Martinez <[email protected]>
@famarting famarting requested review from a team as code owners April 22, 2025 08:20
Copy link

codecov bot commented Apr 22, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 57.17%. Comparing base (6c59092) to head (9ee0622).
⚠️ Report is 29 commits behind head on main.

❗ There is a different number of reports uploaded between BASE (6c59092) and HEAD (9ee0622). Click for more details.

HEAD has 3 uploads less than BASE
Flag BASE (6c59092) HEAD (9ee0622)
4 1
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #722      +/-   ##
==========================================
- Coverage   62.52%   57.17%   -5.36%     
==========================================
  Files          56       58       +2     
  Lines        4139     4432     +293     
==========================================
- Hits         2588     2534      -54     
- Misses       1425     1761     +336     
- Partials      126      137      +11     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copy link
Member

@mikeee mikeee left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor nit but looks good to me!

famarting and others added 2 commits July 17, 2025 16:24
@famarting famarting requested a review from mikeee July 17, 2025 14:24
@yaron2 yaron2 merged commit 9e8c2de into dapr:main Aug 7, 2025
18 of 19 checks passed
@mikeee mikeee added this to the v1.13 milestone Aug 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants